package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 问题表
 * </p>
 *
 * @author 小飞
 * @since 2019-07-08
 */
@TableName("zj_trouble_list")
public class TroubleList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 问题类型，关联问题类型id
     */
    @TableField("trouble_type_id")
    private Long troubleTypeId;

    /**
     * 问题图片
     */
    @TableField("trouble_picture")
    private String troublePicture;

    /**
     * 问题描述
     */
    @TableField("trouble_description")
    private String troubleDescription;

    /**
     * 问题解决方式
     */
    @TableField("trouble_solve")
    private String troubleSolve;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTroubleTypeId() {
        return troubleTypeId;
    }

    public void setTroubleTypeId(Long troubleTypeId) {
        this.troubleTypeId = troubleTypeId;
    }

    public String getTroublePicture() {
        return troublePicture;
    }

    public void setTroublePicture(String troublePicture) {
        this.troublePicture = troublePicture;
    }

    public String getTroubleDescription() {
        return troubleDescription;
    }

    public void setTroubleDescription(String troubleDescription) {
        this.troubleDescription = troubleDescription;
    }

    public String getTroubleSolve() {
        return troubleSolve;
    }

    public void setTroubleSolve(String troubleSolve) {
        this.troubleSolve = troubleSolve;
    }

    @Override
    public String toString() {
        return "TroubleList{" +
        "id=" + id +
        ", troubleTypeId=" + troubleTypeId +
        ", troublePicture=" + troublePicture +
        ", troubleDescription=" + troubleDescription +
        ", troubleSolve=" + troubleSolve +
        "}";
    }
}
